//
//  ProductLocationCell.m
//  KiklinkApp
//
//  Created by LJC on 14-10-5.
//  Copyright (c) 2014年 Kiklink. All rights reserved.
//

#import "ProductLocationCell.h"
#import "UIColor+hex.h"
#import "ImagesManager.h"

@implementation ProductLocationCell

- (void)awakeFromNib
{
    ImagesManager *imagesManager = [ImagesManager sharedImagesManager];
    
    self.seperateView.backgroundColor = [UIColor colorWithHexString:AppColor_BackGround];
    self.selectionStyle = UITableViewCellSelectionStyleNone;
    
    [self.phoneBtn setBackgroundImage:[imagesManager phone] forState:UIControlStateNormal];
    [self.phoneBtn setBackgroundImage:[imagesManager phoneTapped] forState:UIControlStateHighlighted];
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated
{
    [super setSelected:selected animated:animated];
}

- (void)loadDataWithProduct:(Product *)product
{
    self.placeLabel.text = product.ext1;
}

@end
